// components/search/cpns/al-focus/cpns/pull-down/pull-down.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    dataList: {
      type: Array,
      value: [{ name: "书名", key: "book_name" }, { name: "作者", key: "author" }, { name: "出版社", key: "publisher" }]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    emitItem(e) {
      // console.log(e.currentTarget.dataset);
      this.triggerEvent("currentItem", e.currentTarget.dataset)
    }
  }
})
